package org.misalen.web.database.model.mysql.pro;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.misalen.annotations.Enumeration;
import org.misalen.annotations.ModelComment;
import org.misalen.web.database.model.mysql.BaseSqlModel;

/**
 * 地图广告支付信息
 * 
 * @author jianhun
 *
 */
@Entity
@Table(name = "ProMapPayInfo")
@DynamicInsert(true)
@DynamicUpdate(true)
public class ProMapPayInfo extends BaseSqlModel {

	@ModelComment("地图广告id")
	@Column(name = "mapId", nullable = false)
	private String mapId;
	
	@Enumeration("pro-extract-type")
	@ModelComment(value = "支付方式")
	@Column(name = "payType", nullable = false)
	private String payType;
	
	
	/**  
	 * 获取payType  
	 * @return payType payType  
	 */
	public String getPayType() {
		return payType;
	}
	


	/**  
	 * 设置payType  
	 * @param payType payType  
	 */
	public void setPayType(String payType) {
		this.payType = payType;
	}
	


	/**  
	 * 获取mapId  
	 * @return mapId mapId  
	 */
	public String getMapId() {
		return mapId;
	}
	

	/**  
	 * 设置mapId  
	 * @param mapId mapId  
	 */
	public void setMapId(String mapId) {
		this.mapId = mapId;
	}
	
}
